package www.ym.com.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import www.ym.com.entity.Department;


public interface DepartmentService extends IService<Department> {


    /**
     * 增加部门
     * @param department
     */
    void addDepartment(Department department);

    /**
     * 修改部门信息
     * @param department
     */
    void  updateDepartment(Department department);

    /**
     * 分页
     */
    Page<Department> pageUser(JSONObject jsonObject);

}
